Skip to content

[Cloud] az cloud show: Add missing synapseAnalyticsResourceId for AzureBleuCloud - #34188

Merged
Yeming Liu (isra-fel) merged 2 commits into
Azure:devfrom
isra-fel:fix/bleu-synapse-resource-id-34059
Oct 19, 2026
Merged

Yeming Liu (isra-fel) merged 2 commits into
Azure:devfrom
isra-fel:fix/bleu-synapse-resource-id-34059

Conversation

@isra-fel

@isra-fel Yeming Liu (isra-fel) commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ️✔️ All clear

Breaking Changes Tests
️✔️ None ️✔️ 130/130

Related command
az cloud show --name AzureBleuCloud

Description
Fixes #34059.

AzureBleuCloud defined synapse_analytics_endpoint (.dev.azuresynapse.sovcloud-api.fr) but was missing its paired synapse_analytics_resource_id. As a result, az cloud show --name AzureBleuCloud returned "synapseAnalyticsResourceId": null even though Synapse is available in Bleu.

Every other known cloud pairs the two values consistently:

Cloud synapse_analytics_resource_id synapse_analytics_endpoint
Public https://dev.azuresynapse.net .dev.azuresynapse.net
China https://dev.azuresynapse.azure.cn .dev.azuresynapse.azure.cn
US Gov https://dev.azuresynapse.usgovcloudapi.net .dev.azuresynapse.usgovcloudapi.net
Bleu (before) (missing) .dev.azuresynapse.sovcloud-api.fr
Bleu (after) https://dev.azuresynapse.sovcloud-api.fr .dev.azuresynapse.sovcloud-api.fr

This PR adds synapse_analytics_resource_id='https://dev.azuresynapse.sovcloud-api.fr' to the Bleu cloud definition, following the established pattern.

Scope note: #34059 lists several other properties (Data Lake, App Insights, Attestation, Log Analytics, etc.) that are unset for Bleu. As the reporter notes, those fall into "never/only-public/only-public+national" buckets and require a per-RP availability decision, so they are intentionally left out of this focused fix. The Synapse one is an unambiguous bug because its suffix counterpart is already present.

The broader sovereign-cloud onboarding (Delos + GovSG) tracked in #34129 is not included here: the authoritative endpoints table currently publishes only placeholder values ("replace fr suffix with de") for several required Delos/GovSG endpoints, so those clouds cannot yet be added with verified values.

Testing Guide

az cloud show --name AzureBleuCloud --query endpoints.synapseAnalyticsResourceId
# -> "https://dev.azuresynapse.sovcloud-api.fr"

Unit tests: azdev test --src-file src/azure-cli-core/azure/cli/core/tests/test_cloud.py (14 passed, 1 skipped).

History Notes
[Cloud] az cloud show: Add missing synapseAnalyticsResourceId for AzureBleuCloud


This checklist is used to make sure that common guidelines for a pull request are followed.

AzureBleuCloud defined synapse_analytics_endpoint
(.dev.azuresynapse.sovcloud-api.fr) but was missing its paired
synapse_analytics_resource_id, so 'az cloud show --name AzureBleuCloud'
returned synapseAnalyticsResourceId: null. Every other cloud pairs the
two values (https://dev.azuresynapse.<suffix> and
.dev.azuresynapse.<suffix>); apply the same pattern for Bleu.

Fixes Azure#34059

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 7707d164-8d38-41f6-9884-04c670e74640

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A focused regression test is needed to prevent the Bleu resource ID from silently returning to null.

1 open finding
What changed in this PR

Adds the missing Synapse authentication resource ID for Azure Bleu Cloud.

Changes:

  • Configures the Bleu Synapse resource ID.
  • Documents the fix in release history.
File Description
src/​azure-cli-core/​azure/​cli/​core/​cloud.py Adds the Bleu Synapse resource ID.
src/​azure-cli-core/​HISTORY.rst Records the cloud metadata fix.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment thread src/azure-cli-core/azure/cli/core/cloud.py
@yonzhan

Copy link
Copy Markdown
Collaborator

Add missing synapseAnalyticsResourceId for AzureBleuCloud

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

A targeted regression test is needed for the newly added endpoint value.

1 open finding

🧠 Review effort: Balanced

@NoriZC NoriZC added the Request X Engineering Agent Ask the agent to triage this issue or review this PR label Oct 16, 2026
@x-engineering-agent

x-engineering-agent Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

X Engineering Agent Report

Review — Comments

Yeming Liu (@isra-fel)

Upstream CI passed for this head. The one-line Bleu endpoint addition matches the existing Synapse suffix and the other cloud definitions, but the reported synapseAnalyticsResourceId regression is not protected by an assertion.

Regression finding

Confirmed Copilot reviewer feedback: src/azure-cli-core/azure/cli/core/cloud.py:508 adds the missing value, while src/azure-cli-core/azure/cli/core/tests/test_cloud.py::test_get_known_clouds only checks that known clouds load. No changed test asserts the Bleu endpoint or its serialized command output. Add a focused assertion that the endpoint equals https://dev.azuresynapse.sovcloud-api.fr and that az cloud show --name AzureBleuCloud does not serialize it as null. Rerun the focused cloud tests; the author's reported 14 passed/1 skipped run does not establish that regression coverage.

Other metadata gaps in #34059 are explicitly outside this PR's scope and remain subject to service-owner availability decisions. The new sovereign-cloud audience's acceptance by the service was not independently verified.

Test validation
  • Agent live test: Not run; this is a review-only PR. Check author-provided test evidence and upstream CI separately.
  • Regression coverage: Not applicable to the changed files.

The automated module-only coverage detector reports non-applicability for CLI core; that is not evidence that this user-visible core regression is covered. Focused regression coverage is requested before merge.

Risk assessment — 1/100 · Low · Low confidence

The Low rating reflects the detected change scope with no elevated security, reliability, customer, operational, dependency, sovereign-cloud, generated-output, or cross-component signal.

  • Change scope: 1 changed file, 1 changed line (+1 / -0), including 0 production files.
  • Affected components: No production component was identified.
  • Risk drivers: No elevated risk signal was detected.
  • Regression evidence: No production-code regression-test signal applies.
  • Confidence: Low because no production changed-line evidence was available.
  • Required review: No additional owning-squad review signal was detected.

Posted by x-engineering-agent (Reviewer)

@x-engineering-agent x-engineering-agent Bot added the X Engineering Agent Reviewed Agent reviewed this PR label Oct 16, 2026
@isra-fel
Yeming Liu (isra-fel) merged commit 19e3243 into Azure:dev Oct 19, 2026
58 checks passed
@isra-fel
Yeming Liu (isra-fel) deleted the fix/bleu-synapse-resource-id-34059 branch October 19, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Request X Engineering Agent Ask the agent to triage this issue or review this PR X Engineering Agent Reviewed Agent reviewed this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing sovereign cloud metadata (Bleu + Blackforest)

4 participants